package org.s3.project.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class UserCoupons implements Serializable {

  private long userCouponId;
  private long userId;
  private long couponId;
  private String couponCode;
  private String discountType;
  private String discountValue;
  private String minOrderValue;
  private java.sql.Timestamp validFrom;
  private java.sql.Timestamp validUntil;
  private String status;
  private java.sql.Timestamp usedAt;
  private java.sql.Timestamp createdAt;
  private java.sql.Timestamp updatedAt;


  {

  }

}
